$(function() {
				lineId = $("#lineId").val();
				faultTime = $("#faultTime").val();
				showBackBtn = $("#showBackBtn").val();
				if (!showBackBtn) {
					$("#back").css('display', 'none');
				}
				initLineProtectTab();
				$("#iframepage").attr("src","/ui/map/protectActSvg/protectActSvg.xhtml");
			});
			var lineId;
			var faultTime;
			function back() {
				window.history.go(-1);
			}
			//线路保护配置情况
			function initLineProtectTab(){
				var protect=["","","",""];
				$.getJSON('/rest/lineprotect/getProtectByLineId/'+lineId,function(result){
					var opt=MyTable.getDefaultOptions();
					var tb = new MyTable('protectConfig',['主一保护','厂家','主二保护','厂家'],opt);
					for(var station in result){
						var p=[];
						p.push(result[station]["主一"][0]);
						p.push(result[station]["主一"][1]);
						p.push(result[station]["主二"][0]);
						p.push(result[station]["主二"][1]);
					}
					var pro=[];
					pro.push(p);
					tb.setDataSet(pro);
					tb.show();
				});
			}